export const widgetLiquidFill = {
  code: "widgetLiquidFill",
  type: "pieChart",
  tabName: "水滴图",
  label: "水滴图",
  icon: "iconbaifenbi",
  options: {
    setup: [
      {
        type: "el-input-text",
        label: "图层名称",
        name: "layerName",
        required: false,
        placeholder: "",
        value: "水滴图"
      },
      {
        type: "vue-color",
        label: "背景颜色",
        name: "background",
        required: false,
        placeholder: "",
        value: ""
      },
      [
        {
          name: "数值设置",
          list: [
            {
              type: "el-switch",
              label: "标题显示",
              name: "isShowTitle",
              required: false,
              placeholder: "",
              value: true
            },
            {
              type: "vue-color",
              label: "波浪外数值颜色",
              name: "waveOutTextNumColor",
              required: false,
              placeholder: "",
              value: "#003092"
            },
            {
              type: "vue-color",
              label: "波浪内数值颜色",
              name: "waveInTextNumColor",
              required: false,
              placeholder: "",
              value: "#fff"
            },
            {
              type: "el-input-number",
              label: "数值字号",
              name: "textNumFontSize",
              required: false,
              placeholder: "",
              value: 40
            },
            {
              type: "el-select",
              label: "数值粗细",
              name: "textNumFontWeight",
              required: false,
              placeholder: "",
              selectOptions: [
                { code: "normal", name: "正常" },
                { code: "bold", name: "粗体" },
                { code: "bolder", name: "特粗体" },
                { code: "lighter", name: "细体" }
              ],
              value: "normal"
            },
            {
              type: "el-select",
              label: "数值风格",
              name: "textNumFontStyle",
              required: false,
              placeholder: "",
              selectOptions: [
                { code: "normal", name: "正常" },
                { code: "italic", name: "italic斜体" },
                { code: "oblique", name: "oblique斜体" }
              ],
              value: "normal"
            },
            {
              type: "el-select",
              label: "数值字体",
              name: "textNumFontFamily",
              required: false,
              placeholder: "",
              selectOptions: [
                { code: "sans-serif", name: "sans-serif" },
                { code: "serif", name: "serif" },
                { code: "Arial", name: "Arial" },
                { code: "Courier New", name: "Courier New" }
              ],
              value: "sans-serif"
            }
          ]
        },
        {
          name: "样式设置",
          list: [
            {
              type: "vue-color",
              label: "背景颜色",
              name: "backColor",
              required: false,
              placeholder: "",
              value: "#FFFFFF"
            },
            {
              type: "vue-color",
              label: "内边框颜色",
              name: "innerBorderColor",
              required: false,
              placeholder: "",
              value: "#FFFFFF"
            },
            {
              type: "el-input-number",
              label: "内边框宽度",
              name: "innerBorderWidth",
              required: false,
              placeholder: "",
              value: 2
            },
            {
              type: "el-switch",
              label: "外边框显示",
              name: "isShowOuterBorder",
              require: false,
              placeholder: "",
              value: true
            },
            {
              type: "el-input-number",
              label: "外边框宽度",
              name: "outWidth",
              required: false,
              placeholder: "",
              value: 0
            },
            {
              type: "vue-color",
              label: "外边框颜色",
              name: "outBorderColor",
              required: false,
              placeholder: "",
              value: "#0066BA"
            },
            {
              type: "el-input-number",
              label: "外边框间距",
              name: "innerSpacing",
              required: false,
              placeholder: "",
              value: 0
            },
            {
              type: "vue-color",
              label: "外边框间距颜色",
              name: "innerSpacingColor",
              required: false,
              placeholder: "",
              value: "#5CACEE"
            },
            {
              type: "el-input-number",
              label: "外边框阴影",
              name: "outShadow",
              required: false,
              placeholder: "",
              value: 10
            }
          ]
        },
        {
          name: "波浪设置",
          list: [
            {
              type: "el-input-number",
              label: "波浪振幅",
              name: "waveFluctuate",
              required: false,
              placeholder: "",
              value: 20
            },
            {
              type: "el-input-number",
              label: "波浪长度",
              name: "waveNumber",
              required: false,
              placeholder: "",
              value: 300
            },
            {
              type: "el-select",
              label: "波浪方向",
              name: "waveDirection",
              required: false,
              placeholder: "",
              selectOptions: [
                { code: "left", name: "左" },
                { code: "right", name: "右" }
              ],
              value: "right"
            },
            {
              type: "el-switch",
              label: "波浪滚动",
              name: "isWaveScroll",
              require: false,
              placeholder: "",
              value: true
            },
            {
              type: "vue-color",
              label: "0%处颜色",
              name: "color0Start",
              required: false,
              placeholder: "",
              value: "#5CACEE"
            },
            {
              type: "vue-color",
              label: "100%颜色",
              name: "color100End",
              required: false,
              placeholder: "",
              value: "#3066BE"
            }
          ]
        }
      ]
    ],
    /**
     * 数据类型
     */
    data: [
      {
        type: "el-radio-group",
        label: "数据类型",
        name: "dataType",
        require: false,
        placeholder: "",
        selectValue: true,
        selectOptions: [
          {
            code: "staticData",
            name: "静态数据"
          },
          {
            code: "dynamicData",
            name: "动态数据"
          }
        ],
        value: "staticData"
      },
      {
        type: "el-input-number",
        label: "刷新时间(毫秒)",
        name: "refreshTime",
        relactiveDom: "dataType",
        relactiveDomValue: "dynamicData",
        value: 600000
      },
      {
        type: "el-button",
        label: "静态数据",
        name: "staticData",
        required: false,
        placeholder: "",
        relactiveDom: "dataType",
        relactiveDomValue: "staticData",
        value: [{ value: 0.6 }]
      },
      {
        type: "dycustComponents",
        label: "",
        name: "dynamicData",
        required: false,
        placeholder: "",
        relactiveDom: "dataType",
        chartType: "widget-piechart",
        relactiveDomValue: "dynamicData",
        dictKey: "TEXT_PROPERTIES",
        value: ""
      }
    ],
    // 坐标
    position: [
      {
        type: "el-input-number",
        label: "左边距",
        name: "left",
        required: false,
        placeholder: "",
        value: 0
      },
      {
        type: "el-input-number",
        label: "上边距",
        name: "top",
        required: false,
        placeholder: "",
        value: 0
      },
      {
        type: "el-input-number",
        label: "宽度",
        name: "width",
        required: false,
        placeholder: "该容器在1920px大屏中的宽度",
        value: 400
      },
      {
        type: "el-input-number",
        label: "高度",
        name: "height",
        required: false,
        placeholder: "该容器在1080px大屏中的高度",
        value: 300
      }
    ]
  }
};